﻿<UserControl x:Class="WP7.LockerPlayer.Views.SettingsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="510" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot" Background="Black">
        <Grid  Margin="5,0,0,5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="280"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>

                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
                <RowDefinition Height="85"/>
            </Grid.RowDefinitions>

            <TextBlock Margin="10,0,0,0" Text="{Binding Path=LocalizedResources.SettingsEnablePush, Source={StaticResource LocalizedStrings}}" TextWrapping="Wrap" Grid.Row="0" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="enablePNS"  Grid.Row="0" Grid.Column="1"  Background="LightGray" />
            <TextBlock Margin="10,0,0,0"  Text="{Binding Path=LocalizedResources.SettingsSaveCred, Source={StaticResource LocalizedStrings}}" Grid.Row="1" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="saveCreds"  Grid.Row="1" Grid.Column="1"  Background="LightGray" IsChecked="True" />

            <TextBlock Margin="10,0,0,0"  Text="{Binding Path=LocalizedResources.SettingsSuppress, Source={StaticResource LocalizedStrings}}" TextWrapping="Wrap" Grid.Row="2" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>
            <CheckBox Name="enablePNSNot" Background="LightGray" Grid.Row="2" Grid.Column="1"  IsChecked="True" />

            <TextBlock Margin="10,0,0,0"  Text="{Binding Path=LocalizedResources.SettingsClear, Source={StaticResource LocalizedStrings}}" Grid.Row="3" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>

            <Button Name="clearBtn"  Grid.Row="3" Grid.Column="1"  Content="{Binding Path=LocalizedResources.ButtonClear, Source={StaticResource LocalizedStrings}}"  Height="80" Click="clearBtn_Click"  Foreground="White" >


            </Button>
            <TextBlock Margin="10,0,0,0"  Text="{Binding Path=LocalizedResources.SettingsResetCreds, Source={StaticResource LocalizedStrings}}" Grid.Row="4" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>

            <Button Name="resetBtn"  Grid.Row="4" Grid.Column="1"  Content="{Binding Path=LocalizedResources.ButtonReset, Source={StaticResource LocalizedStrings}}"  Height="80" Click="resetBtn_Click"  Foreground="White" >


            </Button>
            <TextBlock Margin="10,0,0,0"  Text="{Binding Path=LocalizedResources.SettingsSave, Source={StaticResource LocalizedStrings}}" Grid.Row="5" Grid.Column="0" Style="{StaticResource PhoneTextLargeStyle}" VerticalAlignment="Center" Foreground="{StaticResource BaseForeground}"/>

            <Button Name="saveBtn" Grid.Row="5"  Foreground="White" Grid.Column="1" Content="{Binding Path=LocalizedResources.ButtonSave, Source={StaticResource LocalizedStrings}}"  Height="80"  Click="saveBtn_Click">


            </Button>

        </Grid>
    </Grid>
</UserControl>
